package com.zhuzi.webservice;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * @author zhuzi
 * 2022/8/2 16:46
 */
@WebService(
        //name = "TestService", // 暴露服务名称
        //targetNamespace = "http://server.webservice.Bag.admin.com"// 命名空间,一般是接口的包名倒序
)
public interface TestService {
    @WebMethod
    String sendMessage(@WebParam(name = "username") String username);

    @WebMethod
    boolean getFlag(@WebParam(name = "username") String username, boolean time);
}
